package com.example.fileupload.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author liaofengshun
 */
@Controller
public class SysController {
    @RequestMapping(method = RequestMethod.GET,value = "/upload")
    public String toUpload(){
        return "upload";
    }
    @RequestMapping(method = RequestMethod.GET,value = "/uploads")
    public String toUploads(){
        return "uploads";
    }
}
